package com.base.common.edu.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * @Author Maple.Chen
 * @Description 班级定义实体
 * @Date 19:58 2021/1/26
 **/
@Data
@ApiModel(description = "班级定义实体")
@JsonIgnoreProperties(value = {"handler"})
public class EduClass implements Serializable {

    private static final long serialVersionUID = 6732895056733687929L;
    @ApiModelProperty( value = "班级id：UUID")
    private String classId;
    @ApiModelProperty( value = "年级：20xx")
    private String gradeYear;
    @ApiModelProperty( value = "专业名：软件工程")
    private String className;
    @ApiModelProperty( value = "班别：1")
    private Integer classNo;
    @ApiModelProperty( value = "所属部门（系）")
    private Department deptObject;
    @ApiModelProperty( value = "班级辅导员")
    private Staff staff;
    @ApiModelProperty( value = "班级下学生映射集合")
    private Set<Student> students = new HashSet<Student>();
    @ApiModelProperty( value = "班级下所选的课程")
    private Set<ValidCourse> validCourses = new HashSet<ValidCourse>();

}
